ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct3D11 Namespace / CommonShaderStageBase Class / SetSamplers Method / SetSamplers(Int32,Int32,ComArray<SamplerState>) Method
Index into the device's zero-based array to begin setting samplers to (ranges from 0 to D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1).
Number of samplers in the array. Each pipeline stage has a total of 16 sampler slots available (ranges from 0 to D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot).
Pointer to an array of sampler-state interfaces (see SamplerState). See Remarks.

In This Topic
    SetSamplers(Int32,Int32,ComArray<SamplerState>) Method
    In This Topic
    Set an array of sampler states to the shader pipeline stage.
    Syntax
    'Declaration
     
    Public Overloads Sub SetSamplers( _
       ByVal startSlot As System.Integer, _
       ByVal numSamplers As System.Integer, _
       ByVal samplers As ComArray(Of SamplerState) _
    ) 
    public void SetSamplers( 
       System.int startSlot,
       System.int numSamplers,
       ComArray<SamplerState> samplers
    )

    Parameters

    startSlot
    Index into the device's zero-based array to begin setting samplers to (ranges from 0 to D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1).
    numSamplers
    Number of samplers in the array. Each pipeline stage has a total of 16 sampler slots available (ranges from 0 to D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot).
    samplers
    Pointer to an array of sampler-state interfaces (see SamplerState). See Remarks.
    See Also